<template>
  <div>
    <h1 class="title">你好啊</h1>
    <School />
    <Student />
  </div>
</template>

<script>
import Student from "./components/Student";
import School from "./components/School";

export default {
  name: "App",
  components: { School, Student }
};
</script>

<!-- scoped 让样式在局部生效，防止冲突 -->
<style scoped>
.title {
  color: red;
}
</style>
